<!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8">
	<link rel="stylesheet" href="__ADMIN_STATIC__/pear/css/pear.css" />
</head>

<body class="pear-container">
	<div class="layui-card">
		<div class="layui-card-body">
			<form class="layui-form" action="">
				<div class="layui-form-item">
					<div class="layui-form-item layui-inline">
						<label class="layui-form-label">账号</label>
						<div class="layui-input-inline">
							<input type="text" name="username" placeholder="" class="layui-input">
						</div>
					</div>
					<div class="layui-form-item layui-inline">
						<button class="pear-btn pear-btn-md pear-btn-primary" lay-submit lay-filter="query">
							<i class="layui-icon layui-icon-search"></i>
							查询
						</button>
						<button type="reset" class="pear-btn pear-btn-md">
							<i class="layui-icon layui-icon-refresh"></i>
							重置
						</button>
					</div>
				</div>
			</form>
		</div>
	</div>
	<div class="layui-card">
		<div class="layui-card-body">
			<table id="dataTable" lay-filter="dataTable"></table>
		</div>
	</div>

	<script type="text/html" id="toolbar">
			<button class="pear-btn pear-btn-primary pear-btn-md" lay-event="add">
		        <i class="layui-icon layui-icon-add-1"></i>
		        新增
			</button>
		    <button class="pear-btn pear-btn-danger pear-btn-md" lay-event="batchRemove">
		        <i class="layui-icon layui-icon-delete"></i>
		        删除
			</button>
<!--			<button class="pear-btn pear-btn-md" lay-event="recycle">-->
<!--		        <i class="layui-icon layui-icon-delete"></i>-->
<!--		        回收站-->
<!--		    </button>-->
		</script>

	<script type="text/html" id="options">
			<button class="pear-btn pear-btn-primary pear-btn-xs" lay-event="edit">编辑</button>
		    <button class="pear-btn pear-btn-danger pear-btn-xs" lay-event="remove">删除</button>
		</script>

	<script type="text/html" id="status">
				<input type="checkbox" name="status" value="{{d.id}}" lay-skin="switch" lay-text="启用|禁用" lay-filter="status" {{# if(d.status==1){ }} checked {{# } }}>
		</script>
	<script src="__ADMIN_STATIC__/layui/layui.js"></script>
	<script src="__ADMIN_STATIC__/pear/pear.js"></script>
	<script src="__ADMIN_STATIC__/admin/course/index.js"></script>
</body>

</html>